package com.drama.api.company.message.domain.po;

import com.drama.api.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Table;
@Data
@EqualsAndHashCode(callSuper = false)
@Table(name = "company_message")
public class CompanyMessagePO extends BaseEntity {

    /**
     * 公司ID
     */
    @Column(name = "company_id")
    private String companyId;

    /**
     * 消息标题
     */
    @Column(name = "msg_title")
    private String msgTitle;

    /**
     * 消息内容
     */
    @Column(name = "msg_desc")
    private String msgDesc;

    /**
     * 消息跳转连接
     */
    @Column(name = "msg_url")
    private String msgUrl;

    /**
     * 消息状态（1已读 2未读）
     */
    @Column(name = "msg_state")
    private Integer msgState;


    /**
     * 消息类型（1剧目提审进度通知 2提现结果通知）
     */
    @Column(name = "msg_type")
    private Integer msgType;

}